package com.hmall.search.dto;

import lombok.Data;

/**
 * 请求参数封装对象
 */
@Data
public class SearchDto {
    private String key; //搜索关机字
    private Integer page = 1; //页码
    private Integer size = 5; //条数
    private String sortBy; //排序字段，前端提交default，price，sold
    private String brand; //品牌
    private String category; //分类
    private Long minPrice; //价格
    private Long maxPrice; //价格
}
